package com.weharvest.edu.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@Data
@DynamicUpdate
@Entity
public class BackstageRole {
    @Id
    private  String id;
    private  String pid;
    private  String name;
    private  String content;
    private  Date createTime;
    private  Date updateTime;
    private  Integer state;
    private  String flag;
}
